<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8"/>
        <title>Laravel--文件上传实例</title>
    </head>
    <body>
        <h3>Laravel--文件上传实例</h3>
        <form action="{{url('/doupload')}}" method="post" enctype="multipart/form-data"> 
            <input type="hidden" name="_token" value="<?php echo csrf_token(); ?>">
            上传文件: <input type="file"  name="ufile" /> 
            <input type="submit" value="提交" /> 
        </form> 

    </body>
</html>
